3.7.78 \(\int \frac {\cos ^7(c+d x) \sin ^5(c+d x)}{a+a \sin (c+d x)} \, dx\) [678]
Optimal. Leaf size=109 \[ \frac {\sin ^6(c+d x)}{6 a d}-\frac {\sin ^7(c+d x)}{7 a d}-\frac {\sin ^8(c+d x)}{4 a d}+\frac {2 \sin ^9(c+d x)}{9 a d}+\frac {\sin ^{10}(c+d x)}{10 a d}-\frac {\sin ^{11}(c+d x)}{11 a d} \]
[Out]
1/6*sin(d*x+c)^6/a/d-1/7*sin(d*x+c)^7/a/d-1/4*sin(d*x+c)^8/a/d+2/9*sin(d*x+c)^9/a/d+1/10*sin(d*x+c)^10/a/d-1/1
1*sin(d*x+c)^11/a/d
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 109, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.103, Rules used = {2915, 12, 90}
\begin {gather*} -\frac {\sin ^{11}(c+d x)}{11 a d}+\frac {\sin ^{10}(c+d x)}{10 a d}+\frac {2 \sin ^9(c+d x)}{9 a d}-\frac {\sin ^8(c+d x)}{4 a d}-\frac {\sin ^7(c+d x)}{7 a d}+\frac {\sin ^6(c+d x)}{6 a d} \end {gather*}
Antiderivative was successfully verified.
[In]
Int[(Cos[c + d*x]^7*Sin[c + d*x]^5)/(a + a*Sin[c + d*x]),x]
[Out]
Sin[c + d*x]^6/(6*a*d) - Sin[c + d*x]^7/(7*a*d) - Sin[c + d*x]^8/(4*a*d) + (2*Sin[c + d*x]^9)/(9*a*d) + Sin[c
+ d*x]^10/(10*a*d) - Sin[c + d*x]^11/(11*a*d)
Rule 12
Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] && !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]
Rule 90
Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandI
ntegrand[(a + b*x)^m*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, p}, x] && IntegersQ[m, n] &&
(IntegerQ[p] || (GtQ[m, 0] && GeQ[n, -1]))
Rule 2915
Int[cos[(e_.) + (f_.)*(x_)]^(p_)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_.)*((c_.) + (d_.)*sin[(e_.) + (f_.)
*(x_)])^(n_.), x_Symbol] :> Dist[1/(b^p*f), Subst[Int[(a + x)^(m + (p - 1)/2)*(a - x)^((p - 1)/2)*(c + (d/b)*x
)^n, x], x, b*Sin[e + f*x]], x] /; FreeQ[{a, b, e, f, c, d, m, n}, x] && IntegerQ[(p - 1)/2] && EqQ[a^2 - b^2,
0]
Rubi steps
\begin {align*} \int \frac {\cos ^7(c+d x) \sin ^5(c+d x)}{a+a \sin (c+d x)} \, dx &=\frac {\text {Subst}\left (\int \frac {(a-x)^3 x^5 (a+x)^2}{a^5} \, dx,x,a \sin (c+d x)\right )}{a^7 d}\\ &=\frac {\text {Subst}\left (\int (a-x)^3 x^5 (a+x)^2 \, dx,x,a \sin (c+d x)\right )}{a^{12} d}\\ &=\frac {\text {Subst}\left (\int \left (a^5 x^5-a^4 x^6-2 a^3 x^7+2 a^2 x^8+a x^9-x^{10}\right ) \, dx,x,a \sin (c+d x)\right )}{a^{12} d}\\ &=\frac {\sin ^6(c+d x)}{6 a d}-\frac {\sin ^7(c+d x)}{7 a d}-\frac {\sin ^8(c+d x)}{4 a d}+\frac {2 \sin ^9(c+d x)}{9 a d}+\frac {\sin ^{10}(c+d x)}{10 a d}-\frac {\sin ^{11}(c+d x)}{11 a d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.65, size = 68, normalized size = 0.62 \begin {gather*} \frac {\sin ^6(c+d x) \left (2310-1980 \sin (c+d x)-3465 \sin ^2(c+d x)+3080 \sin ^3(c+d x)+1386 \sin ^4(c+d x)-1260 \sin ^5(c+d x)\right )}{13860 a d} \end {gather*}
Antiderivative was successfully verified.
[In]
Integrate[(Cos[c + d*x]^7*Sin[c + d*x]^5)/(a + a*Sin[c + d*x]),x]
[Out]
(Sin[c + d*x]^6*(2310 - 1980*Sin[c + d*x] - 3465*Sin[c + d*x]^2 + 3080*Sin[c + d*x]^3 + 1386*Sin[c + d*x]^4 -
1260*Sin[c + d*x]^5))/(13860*a*d)
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 69, normalized size = 0.63
| | |
method |
result |
size |
| | |
derivativedivides |
\(\frac {-\frac {\left (\sin ^{11}\left (d x +c \right )\right )}{11}+\frac {\left (\sin ^{10}\left (d x +c \right )\right )}{10}+\frac {2 \left (\sin ^{9}\left (d x +c \right )\right )}{9}-\frac {\left (\sin ^{8}\left (d x +c \right )\right )}{4}-\frac {\left (\sin ^{7}\left (d x +c \right )\right )}{7}+\frac {\left (\sin ^{6}\left (d x +c \right )\right )}{6}}{d a}\) |
\(69\) |
default |
\(\frac {-\frac {\left (\sin ^{11}\left (d x +c \right )\right )}{11}+\frac {\left (\sin ^{10}\left (d x +c \right )\right )}{10}+\frac {2 \left (\sin ^{9}\left (d x +c \right )\right )}{9}-\frac {\left (\sin ^{8}\left (d x +c \right )\right )}{4}-\frac {\left (\sin ^{7}\left (d x +c \right )\right )}{7}+\frac {\left (\sin ^{6}\left (d x +c \right )\right )}{6}}{d a}\) |
\(69\) |
risch |
\(-\frac {5 \sin \left (d x +c \right )}{512 a d}+\frac {\sin \left (11 d x +11 c \right )}{11264 a d}-\frac {\cos \left (10 d x +10 c \right )}{5120 a d}-\frac {\sin \left (9 d x +9 c \right )}{9216 a d}-\frac {5 \sin \left (7 d x +7 c \right )}{7168 a d}+\frac {5 \cos \left (6 d x +6 c \right )}{3072 a d}+\frac {\sin \left (5 d x +5 c \right )}{1024 a d}+\frac {5 \sin \left (3 d x +3 c \right )}{1536 a d}-\frac {5 \cos \left (2 d x +2 c \right )}{512 a d}\) |
\(152\) |
| | |
|
|
|
Verification of antiderivative is not currently implemented for this CAS.
[In]
int(cos(d*x+c)^7*sin(d*x+c)^5/(a+a*sin(d*x+c)),x,method=_RETURNVERBOSE)
[Out]
1/d/a*(-1/11*sin(d*x+c)^11+1/10*sin(d*x+c)^10+2/9*sin(d*x+c)^9-1/4*sin(d*x+c)^8-1/7*sin(d*x+c)^7+1/6*sin(d*x+c
)^6)
________________________________________________________________________________________
Maxima [A]
time = 0.32, size = 69, normalized size = 0.63 \begin {gather*} -\frac {1260 \, \sin \left (d x + c\right )^{11} - 1386 \, \sin \left (d x + c\right )^{10} - 3080 \, \sin \left (d x + c\right )^{9} + 3465 \, \sin \left (d x + c\right )^{8} + 1980 \, \sin \left (d x + c\right )^{7} - 2310 \, \sin \left (d x + c\right )^{6}}{13860 \, a d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)^7*sin(d*x+c)^5/(a+a*sin(d*x+c)),x, algorithm="maxima")
[Out]
-1/13860*(1260*sin(d*x + c)^11 - 1386*sin(d*x + c)^10 - 3080*sin(d*x + c)^9 + 3465*sin(d*x + c)^8 + 1980*sin(d
*x + c)^7 - 2310*sin(d*x + c)^6)/(a*d)
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 99, normalized size = 0.91 \begin {gather*} -\frac {1386 \, \cos \left (d x + c\right )^{10} - 3465 \, \cos \left (d x + c\right )^{8} + 2310 \, \cos \left (d x + c\right )^{6} - 20 \, {\left (63 \, \cos \left (d x + c\right )^{10} - 161 \, \cos \left (d x + c\right )^{8} + 113 \, \cos \left (d x + c\right )^{6} - 3 \, \cos \left (d x + c\right )^{4} - 4 \, \cos \left (d x + c\right )^{2} - 8\right )} \sin \left (d x + c\right )}{13860 \, a d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)^7*sin(d*x+c)^5/(a+a*sin(d*x+c)),x, algorithm="fricas")
[Out]
-1/13860*(1386*cos(d*x + c)^10 - 3465*cos(d*x + c)^8 + 2310*cos(d*x + c)^6 - 20*(63*cos(d*x + c)^10 - 161*cos(
d*x + c)^8 + 113*cos(d*x + c)^6 - 3*cos(d*x + c)^4 - 4*cos(d*x + c)^2 - 8)*sin(d*x + c))/(a*d)
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 2280 vs.
\(2 (82) = 164\).
time = 222.25, size = 2280, normalized size = 20.92 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)**7*sin(d*x+c)**5/(a+a*sin(d*x+c)),x)
[Out]
Piecewise((36960*tan(c/2 + d*x/2)**16/(3465*a*d*tan(c/2 + d*x/2)**22 + 38115*a*d*tan(c/2 + d*x/2)**20 + 190575
*a*d*tan(c/2 + d*x/2)**18 + 571725*a*d*tan(c/2 + d*x/2)**16 + 1143450*a*d*tan(c/2 + d*x/2)**14 + 1600830*a*d*t
an(c/2 + d*x/2)**12 + 1600830*a*d*tan(c/2 + d*x/2)**10 + 1143450*a*d*tan(c/2 + d*x/2)**8 + 571725*a*d*tan(c/2
+ d*x/2)**6 + 190575*a*d*tan(c/2 + d*x/2)**4 + 38115*a*d*tan(c/2 + d*x/2)**2 + 3465*a*d) - 63360*tan(c/2 + d*x
/2)**15/(3465*a*d*tan(c/2 + d*x/2)**22 + 38115*a*d*tan(c/2 + d*x/2)**20 + 190575*a*d*tan(c/2 + d*x/2)**18 + 57
1725*a*d*tan(c/2 + d*x/2)**16 + 1143450*a*d*tan(c/2 + d*x/2)**14 + 1600830*a*d*tan(c/2 + d*x/2)**12 + 1600830*
a*d*tan(c/2 + d*x/2)**10 + 1143450*a*d*tan(c/2 + d*x/2)**8 + 571725*a*d*tan(c/2 + d*x/2)**6 + 190575*a*d*tan(c
/2 + d*x/2)**4 + 38115*a*d*tan(c/2 + d*x/2)**2 + 3465*a*d) - 36960*tan(c/2 + d*x/2)**14/(3465*a*d*tan(c/2 + d*
x/2)**22 + 38115*a*d*tan(c/2 + d*x/2)**20 + 190575*a*d*tan(c/2 + d*x/2)**18 + 571725*a*d*tan(c/2 + d*x/2)**16
+ 1143450*a*d*tan(c/2 + d*x/2)**14 + 1600830*a*d*tan(c/2 + d*x/2)**12 + 1600830*a*d*tan(c/2 + d*x/2)**10 + 114
3450*a*d*tan(c/2 + d*x/2)**8 + 571725*a*d*tan(c/2 + d*x/2)**6 + 190575*a*d*tan(c/2 + d*x/2)**4 + 38115*a*d*tan
(c/2 + d*x/2)**2 + 3465*a*d) + 140800*tan(c/2 + d*x/2)**13/(3465*a*d*tan(c/2 + d*x/2)**22 + 38115*a*d*tan(c/2
+ d*x/2)**20 + 190575*a*d*tan(c/2 + d*x/2)**18 + 571725*a*d*tan(c/2 + d*x/2)**16 + 1143450*a*d*tan(c/2 + d*x/2
)**14 + 1600830*a*d*tan(c/2 + d*x/2)**12 + 1600830*a*d*tan(c/2 + d*x/2)**10 + 1143450*a*d*tan(c/2 + d*x/2)**8
+ 571725*a*d*tan(c/2 + d*x/2)**6 + 190575*a*d*tan(c/2 + d*x/2)**4 + 38115*a*d*tan(c/2 + d*x/2)**2 + 3465*a*d)
+ 59136*tan(c/2 + d*x/2)**12/(3465*a*d*tan(c/2 + d*x/2)**22 + 38115*a*d*tan(c/2 + d*x/2)**20 + 190575*a*d*tan(
c/2 + d*x/2)**18 + 571725*a*d*tan(c/2 + d*x/2)**16 + 1143450*a*d*tan(c/2 + d*x/2)**14 + 1600830*a*d*tan(c/2 +
d*x/2)**12 + 1600830*a*d*tan(c/2 + d*x/2)**10 + 1143450*a*d*tan(c/2 + d*x/2)**8 + 571725*a*d*tan(c/2 + d*x/2)*
*6 + 190575*a*d*tan(c/2 + d*x/2)**4 + 38115*a*d*tan(c/2 + d*x/2)**2 + 3465*a*d) - 236800*tan(c/2 + d*x/2)**11/
(3465*a*d*tan(c/2 + d*x/2)**22 + 38115*a*d*tan(c/2 + d*x/2)**20 + 190575*a*d*tan(c/2 + d*x/2)**18 + 571725*a*d
*tan(c/2 + d*x/2)**16 + 1143450*a*d*tan(c/2 + d*x/2)**14 + 1600830*a*d*tan(c/2 + d*x/2)**12 + 1600830*a*d*tan(
c/2 + d*x/2)**10 + 1143450*a*d*tan(c/2 + d*x/2)**8 + 571725*a*d*tan(c/2 + d*x/2)**6 + 190575*a*d*tan(c/2 + d*x
/2)**4 + 38115*a*d*tan(c/2 + d*x/2)**2 + 3465*a*d) + 59136*tan(c/2 + d*x/2)**10/(3465*a*d*tan(c/2 + d*x/2)**22
+ 38115*a*d*tan(c/2 + d*x/2)**20 + 190575*a*d*tan(c/2 + d*x/2)**18 + 571725*a*d*tan(c/2 + d*x/2)**16 + 114345
0*a*d*tan(c/2 + d*x/2)**14 + 1600830*a*d*tan(c/2 + d*x/2)**12 + 1600830*a*d*tan(c/2 + d*x/2)**10 + 1143450*a*d
*tan(c/2 + d*x/2)**8 + 571725*a*d*tan(c/2 + d*x/2)**6 + 190575*a*d*tan(c/2 + d*x/2)**4 + 38115*a*d*tan(c/2 + d
*x/2)**2 + 3465*a*d) + 140800*tan(c/2 + d*x/2)**9/(3465*a*d*tan(c/2 + d*x/2)**22 + 38115*a*d*tan(c/2 + d*x/2)*
*20 + 190575*a*d*tan(c/2 + d*x/2)**18 + 571725*a*d*tan(c/2 + d*x/2)**16 + 1143450*a*d*tan(c/2 + d*x/2)**14 + 1
600830*a*d*tan(c/2 + d*x/2)**12 + 1600830*a*d*tan(c/2 + d*x/2)**10 + 1143450*a*d*tan(c/2 + d*x/2)**8 + 571725*
a*d*tan(c/2 + d*x/2)**6 + 190575*a*d*tan(c/2 + d*x/2)**4 + 38115*a*d*tan(c/2 + d*x/2)**2 + 3465*a*d) - 36960*t
an(c/2 + d*x/2)**8/(3465*a*d*tan(c/2 + d*x/2)**22 + 38115*a*d*tan(c/2 + d*x/2)**20 + 190575*a*d*tan(c/2 + d*x/
2)**18 + 571725*a*d*tan(c/2 + d*x/2)**16 + 1143450*a*d*tan(c/2 + d*x/2)**14 + 1600830*a*d*tan(c/2 + d*x/2)**12
+ 1600830*a*d*tan(c/2 + d*x/2)**10 + 1143450*a*d*tan(c/2 + d*x/2)**8 + 571725*a*d*tan(c/2 + d*x/2)**6 + 19057
5*a*d*tan(c/2 + d*x/2)**4 + 38115*a*d*tan(c/2 + d*x/2)**2 + 3465*a*d) - 63360*tan(c/2 + d*x/2)**7/(3465*a*d*ta
n(c/2 + d*x/2)**22 + 38115*a*d*tan(c/2 + d*x/2)**20 + 190575*a*d*tan(c/2 + d*x/2)**18 + 571725*a*d*tan(c/2 + d
*x/2)**16 + 1143450*a*d*tan(c/2 + d*x/2)**14 + 1600830*a*d*tan(c/2 + d*x/2)**12 + 1600830*a*d*tan(c/2 + d*x/2)
**10 + 1143450*a*d*tan(c/2 + d*x/2)**8 + 571725*a*d*tan(c/2 + d*x/2)**6 + 190575*a*d*tan(c/2 + d*x/2)**4 + 381
15*a*d*tan(c/2 + d*x/2)**2 + 3465*a*d) + 36960*tan(c/2 + d*x/2)**6/(3465*a*d*tan(c/2 + d*x/2)**22 + 38115*a*d*
tan(c/2 + d*x/2)**20 + 190575*a*d*tan(c/2 + d*x/2)**18 + 571725*a*d*tan(c/2 + d*x/2)**16 + 1143450*a*d*tan(c/2
+ d*x/2)**14 + 1600830*a*d*tan(c/2 + d*x/2)**12 + 1600830*a*d*tan(c/2 + d*x/2)**10 + 1143450*a*d*tan(c/2 + d*
x/2)**8 + 571725*a*d*tan(c/2 + d*x/2)**6 + 190575*a*d*tan(c/2 + d*x/2)**4 + 38115*a*d*tan(c/2 + d*x/2)**2 + 34
65*a*d), Ne(d, 0)), (x*sin(c)**5*cos(c)**7/(a*sin(c) + a), True))
________________________________________________________________________________________
Giac [A]
time = 0.48, size = 69, normalized size = 0.63 \begin {gather*} -\frac {1260 \, \sin \left (d x + c\right )^{11} - 1386 \, \sin \left (d x + c\right )^{10} - 3080 \, \sin \left (d x + c\right )^{9} + 3465 \, \sin \left (d x + c\right )^{8} + 1980 \, \sin \left (d x + c\right )^{7} - 2310 \, \sin \left (d x + c\right )^{6}}{13860 \, a d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)^7*sin(d*x+c)^5/(a+a*sin(d*x+c)),x, algorithm="giac")
[Out]
-1/13860*(1260*sin(d*x + c)^11 - 1386*sin(d*x + c)^10 - 3080*sin(d*x + c)^9 + 3465*sin(d*x + c)^8 + 1980*sin(d
*x + c)^7 - 2310*sin(d*x + c)^6)/(a*d)
________________________________________________________________________________________
Mupad [B]
time = 8.99, size = 83, normalized size = 0.76 \begin {gather*} \frac {\frac {{\sin \left (c+d\,x\right )}^6}{6\,a}-\frac {{\sin \left (c+d\,x\right )}^7}{7\,a}-\frac {{\sin \left (c+d\,x\right )}^8}{4\,a}+\frac {2\,{\sin \left (c+d\,x\right )}^9}{9\,a}+\frac {{\sin \left (c+d\,x\right )}^{10}}{10\,a}-\frac {{\sin \left (c+d\,x\right )}^{11}}{11\,a}}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((cos(c + d*x)^7*sin(c + d*x)^5)/(a + a*sin(c + d*x)),x)
[Out]
(sin(c + d*x)^6/(6*a) - sin(c + d*x)^7/(7*a) - sin(c + d*x)^8/(4*a) + (2*sin(c + d*x)^9)/(9*a) + sin(c + d*x)^
10/(10*a) - sin(c + d*x)^11/(11*a))/d
________________________________________________________________________________________